package com.itheima.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/user")
public class UserController01 {
    /**
     * value/path:映射路径
     * method:指定请求方式
     * params(字符串数组):指定请求的参数
     */
    @RequestMapping(value = "/findAll",method = RequestMethod.GET)
    public String findAll(){

        return "success";
    }
}
